<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			// 使用while循环实现  打印100以内的奇数 
			var num = 1;
			while (num <= 100) {
				if (num % 2 != 0) {
					console.log(num);
				}

				num++
			}
		</script>
	</body>
</html>
